package com.zeus.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 冯扬龙
 * @date 2021/4/17 11:11
 * 购物车实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Cart {

    private int cartId;
    private int userId;
    private float totalPrice;
    private int totalNum;
//    存放购物车中所有商品的详细信息
    private List<CartItem> cartItemList;
}
